package com.example.service.impl;

import com.example.mapper.UserManagerMapper;
import com.example.pojo.UserManager;
import com.example.service.UserManagerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserManagerServiceImp implements UserManagerService {
    @Autowired
 private UserManagerMapper userManagerMapper;

    /*
    登录功能
     */
    @Override
    public UserManager login(UserManager userManager) {
       UserManager user = userManagerMapper.login(userManager);
        return user;
    }
}
